import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import companys from './modules/companys.js'
import questions from './modules/questions'
import articles from './modules/articles'
import subjects from './modules/subjects'
import directorys from './modules/directorys'
Vue.use(Vuex)

const store = new Vuex.Store({
  getters,
  modules: {
    companys,
    questions,
    articles,
    subjects,
    directorys
  }

})

export default store
